package cn.jf.modules.system.mapper;

import cn.jf.modules.system.entity.SysAnnouncement;
import cn.jf.modules.system.model.AnnouncementModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 系统通告表
 * @Author: jeecg-boot
 * @Date:  2019-01-02
 * @Version: V1.0
 */
public interface SysAnnouncementMapper extends BaseMapper<SysAnnouncement> {
	List<SysAnnouncement> querySysCementListByUserId(Page<SysAnnouncement> page, @Param("userId") String userId, @Param("msgCategory") String msgCategory);
    List<SysAnnouncement> querySysCementListByPar(@Param("announcementModel") AnnouncementModel announcementModel);
    List<SysAnnouncement> querySysCementPage(@Param("page") Page<SysAnnouncement> page);
    List<SysAnnouncement> getSysAnnouncementByLike(@Param("keyWord") String keyWord);
}
